package com.aube.model;

import com.aube.R;
import com.huyn.baseframework.utils.StringUtils;

/**
 * Created by huyaonan on 16/7/21.
 */
public class VideoHighlightItem {

    public String picurl;
    public String title;
    public String time;
    public String bubbleurl;
    public String bubbleKey;

    public int getImgDrawableId() {
        if(!StringUtils.isNotBlank(bubbleKey))
            return 0;

        if(bubbleKey.equalsIgnoreCase("multicamera")) {
            return R.drawable.icon_multivideo;
        } else if(bubbleKey.equalsIgnoreCase("vr")) {
            return R.drawable.icon_vr;
        } else {
            return 0;
        }
    }

}
